import pytest

li = [5]
@pytest.fixture(scope='session', autouse=True, params=li)
def befor(request):
    # print("执行fixture前置处理".center(50, "*"))
    print("登录项目成功，开始执行测试！".center(50, "*"))
    # return request.param
    yield request.param
    print("用例执行完成，退出系统！".center(50, "*"))